export default [
  {
    path: '/search',
    name: 'Search',
    component: () => import('./components/SearchPage.vue'),
  },
  {
    path: '/games/:type',
    name: 'Games',
    component: () => import('./components/CategoryPage.vue'),
  },
  {
    path: '/:pathMatch(.*)*',
    name: 'Home',
    component: () => import('./components/gameCenter.vue'),
    meta: { keepAlive: true },
  },
];
